﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using GameEngine.EntityComponents;
using GameEngine.Managers.IManagers;
using GameEngine.Entities;

namespace PvT.Entities
{
    public class KillboxEntity : AbstractDrawableEntity
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="KillboxEntity" /> class.
        /// </summary>
        /// <param name="components">The components.</param>
        /// <param name="isActive">if set to <c>true</c> [is active].</param>
        /// <param name="isVisible">if set to <c>true</c> [is visible].</param>
        /// <param name="position">The position.</param>
        /// <param name="game">The game.</param>
        public KillboxEntity(List<IEntityComponent> components, bool isActive, bool isVisible, Vector2 position, Game game):
            base(components, isActive, isVisible, position, game)
        { }

        /// <summary>
        /// Loads the content.
        /// </summary>
        public override void LoadContent()
        {
            base.texture = game.Content.Load<Texture2D>("EnviromentalTraps/spikesNonTransparent");
        }
    }
}
